home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / automake-1.5 / am / texibuild.am < prev    next >
Encoding:
Text File  |  2005-10-16  |  2.7 KB  |  60 lines

  1. ## automake - create Makefile.in from Makefile.am
  2. ## Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
  3. ## Free Software Foundation, Inc.
  4.  
  5. ## This program is free software; you can redistribute it and/or modify
  6. ## it under the terms of the GNU General Public License as published by
  7. ## the Free Software Foundation; either version 2, or (at your option)
  8. ## any later version.
  9.  
  10. ## This program is distributed in the hope that it will be useful,
  11. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. ## GNU General Public License for more details.
  14.  
  15. ## You should have received a copy of the GNU General Public License
  16. ## along with this program; if not, write to the Free Software
  17. ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  18. ## 02111-1307, USA.
  19.  
  20. .%SUFFIX%.info:
  21. ## We want to force the .info file to be built in srcdir.  This is
  22. ## probably the simplest way.  However, at Cygnus .info files are
  23. ## always put into the build directory.  So at runtime we select which
  24. ## rule to use.
  25. ## Note that we also remove the possible output files before running
  26. ## makeinfo.  Otherwise, if the texinfo file shrinks (or if you start
  27. ## using --no-split), you'll be left with some dead info files lying
  28. ## around -- dead files which will end up in the distribution.
  29. ?!CYGNUS?    @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
  30. ?!CYGNUS?    cd $(srcdir) \
  31. ?!CYGNUS?      && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
  32. ?!CYGNUS?           `echo $< | sed 's,.*/,,'`
  33. ?CYGNUS?    @rm -f $@ $@-[0-9] $@-[0-9][0-9]
  34. ?CYGNUS?    $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
  35. ?CYGNUS?      -I $(srcdir) $<
  36.  
  37. .%SUFFIX%.dvi:
  38.     TEXINPUTS=%TEXINFODIR%:$$TEXINPUTS \
  39. ## Must set MAKEINFO like this so that version.texi will be found even
  40. ## if it is in srcdir.
  41.     MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
  42.     $(TEXI2DVI) $<
  43.  
  44. .%SUFFIX%:
  45. ## We want to force the .info file to be built in srcdir.  This is
  46. ## probably the simplest way.  However, at Cygnus .info files are
  47. ## always put into the build directory.  So at runtime we select which
  48. ## rule to use.
  49. ## Note that we also remove the possible output files before running
  50. ## makeinfo.  Otherwise, if the texinfo file shrinks (or if you start
  51. ## using --no-split), you'll be left with some dead info files lying
  52. ## around -- dead files which will end up in the distribution.
  53. ?!CYGNUS?    @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
  54. ?!CYGNUS?    cd $(srcdir) \
  55. ?!CYGNUS?      && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
  56. ?!CYGNUS?           `echo $< | sed 's,.*/,,'`
  57. ?CYGNUS?    @rm -f $@ $@-[0-9] $@-[0-9][0-9]
  58. ?CYGNUS?    $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
  59. ?CYGNUS?      -I $(srcdir) $<
  60.